package com.ruoyi.project.modules.questionInfo.domain;

import com.ruoyi.project.modules.fileInfo.domain.FileInf;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 问题信息对象 t_question_info
 * 
 * @author smallrain
 * @date 2021-12-06
 */
public class QuestionInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 关联对象ID */
    @Excel(name = "接口ID")
    private Long objectId;
    /**
     * 1. bff接口 2 表
     */
    private String objectType;

    /** 问题标题 */
    @Excel(name = "问题标题")
    private String title;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String description;

    /** 状态（0-正常 1-停用） */
    @Excel(name = "状态", readConverterExp = "0=-正常,1=-停用")
    private String status;

    /** 删除标志（0-代表存在 2-代表删除） */
    private String delFlag;

    private List<FileInf> fileInfList;

    /** 处理状态  0未解决  1已解决 */
    private Integer handleStatus;

    public List<FileInf> getFileInfList() {
        return fileInfList;
    }

    public String getObjectType() {
        return objectType;
    }

    public void setObjectType(String objectType) {
        this.objectType = objectType;
    }

    public void setFileInfList(List<FileInf> fileInfList) {
        this.fileInfList = fileInfList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setObjectId(Long objectId)
    {
        this.objectId = objectId;
    }

    public Long getObjectId()
    {
        return objectId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public Integer getHandleStatus() {
        return handleStatus;
    }

    public void setHandleStatus(Integer handleStatus) {
        this.handleStatus = handleStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("interfaceId", getObjectId())
            .append("title", getTitle())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
